</div><!--this closed the main_body_container -->
</div><!--this closed the main_body_area -->
<div id="main_body_edge">
    <?php
    /*
      <div class="header_top_links"><a href="<?php echo site_url("info"); ?>">What is Oximity?</a></div>
      <div class="header_top_links"><a href="https://z-ware.fi/wiki/tiki-index.php?page=Oximity">Back to ZWARE1 Wiki!</a></div>
      <div class="header_top_links">Top targets right now:</div>
      <div id="header_bottom"><?php echo $taglist; ?></div>
     */

    $my_menu = array();

    if($this->session->current_user())
    {
       $my_menu[] = $m = OxMenu::new_text_menu("My actions"); 
       
       $m->new_child_link_menu("", "Inbox", "article_favorites");
       $m->new_child_link_menu("", "Articles written", "article_favorites");
       $m->new_child_link_menu("", "Feedback given", "article_favorites");
       $m->new_child_link_menu("", "Manage profile", "article_favorites");
    }
    
    $my_menu[] = $m = OxMenu::new_text_menu("Views");

    if($taglist)
    {
        foreach($taglist as $tag)
        {
            $m->new_child_link_menu($tag['url'],$tag['text'], "article_favorites");
        }
        $m->new_child_link_menu("", "Organize Views", "article_favorites");
    }
    else
    {
        $m->new_child_link_menu("", "Create a view", "article_favorites");
    }
    $m->initialy_expanded = false;
    
    $my_menu[] = $m = OxMenu::new_text_menu("Stories")
            ->new_child_link_menu("story/20", "12 finance people get stuck...", "article_favorites")
            ->new_child_link_menu("story/34", "Squatters in Saif al-islam...", "article_favorites")
            ->new_child_link_menu("", "Organize Stories", "article_favorites");
    $m->initialy_expanded = false;
    
    $my_menu[] = $m = OxMenu::new_text_menu("Authors")
            ->new_child_link_menu("profile/3", "John Williams", "article_favorites")
            ->new_child_link_menu("profile/8", "Mamdouh Habib", "article_favorites")
            ->new_child_link_menu("", "Organize Authors", "article_favorites");
    $m->initialy_expanded = false;
    
    $my_menu[] = $m = OxMenu::new_text_menu("Organizations")
            ->new_child_link_menu("profile/org/7", "Bubbles and Beyond", "article_favorites")
            ->new_child_link_menu("profile/org/6", "Oxford University", "article_favorites")
            ->new_child_link_menu("", "Organize Stories", "article_favorites");
    $m->initialy_expanded = false;    
    
    $my_menu[] = $m = OxMenu::new_text_menu("Saved Articles")
            ->new_child_link_menu("article/16", "Cube prevents tourists from...", "article_favorites")
            ->new_child_link_menu("article/13", "Gamal Mubarak spotted in...", "article_favorites")
            ->new_child_link_menu("", "Organize Saved Articles", "article_favorites");
    $m->initialy_expanded = false;
    
    $my_menu[] = $m = OxMenu::new_text_menu("GeoTags")
            ->new_child_link_menu("", "Oulu, Finland", "article_favorites")
            ->new_child_link_menu("", "Cairo, Egypt", "article_favorites")
            ->new_child_link_menu("", "Equatorial Guinea", "article_favorites")
            ->new_child_link_menu("", "Search GeoTags", "article_favorites");
    $m->initialy_expanded = false;
    $my_menu[] = $m = OxMenu::new_text_menu("PeopleTags")
            ->new_child_link_menu("", "Domique Strauss-Kahn", "article_favorites")
            ->new_child_link_menu("", "Osama bin Laden", "article_favorites")
            ->new_child_link_menu("", "Muammar Gaddafi", "article_favorites")
            ->new_child_link_menu("", "Search People", "article_favorites");  
    $m->initialy_expanded = false;
    $my_menu[] = $m = OxMenu::new_text_menu("SubjectTags")
            ->new_child_link_menu("", "FIFA", "article_favorites")
            ->new_child_link_menu("", "Arab spring", "article_favorites")
            ->new_child_link_menu("", "Spanish Uprising", "article_favorites")
            ->new_child_link_menu("", "Search Subjects", "article_favorites"); 
    $m->initialy_expanded = false;


    $my_menu[] = $m = OxMenu::new_text_menu("Languages")
            ->new_child_link_menu("", "English", "article_favorites")
            ->new_child_link_menu("", "Dansk", "article_favorites")
            ->new_child_link_menu("", "Deutsch", "article_favorites")
            ->new_child_link_menu("", "Francais", "article_favorites")
            ->new_child_link_menu("", "Hrvatski", "article_favorites")
            ->new_child_link_menu("", "Italiano", "article_favorites")
            ->new_child_link_menu("", "Polski", "article_favorites")
            ->new_child_link_menu("", "Italiano", "article_favorites")
    ;

    $i = 0;
    foreach ($my_menu as $menu_item) {
        echo $menu_item->show_menu($i);
        $i++;
    }
    ?>      
</div>

</div><!--this closed the main_body -->
<div style="clear:both;"></div>
<div id="footer">
    And this is the footer. <BR/>
    Copyright (c) 2010 Oximity Ltd.
</div>
</div>
</body></html>